# exerc2.py

class Employee:
    def say_hello(self):
        print("Hello, I am an employee.")

class CEO(Employee):
    def say_hello(self):
        super().say_hello()  # 调用父类的say_hello方法
        print("Hello, I am the CEO.")

# 创建CEO实例并调用其sayHello方法
ceo = CEO()
ceo.say_hello()
